// import request from '@/utils/request'
import { getAxios,postAxios} from '@/utils/http'

export const visitorApi = {

  getVisitList: (data) => {
    return postAxios('/visit/list', data);
  },

  // 更新员工信息
  chooseApproveStatus: (data) => {
    return getAxios('/visit/approve/status?approveStatus='+data.approveStatus+"&uId="+data.uId);
  },

  // 获取员工信图片
  getImage: (data) => {
    return getAxios('/image/get',{file:data});
  },
  
};
